package com.wolf;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author marin
 * @version 1.0
 * @date 2025/8/21 09:17
 * @desc
 */
@Controller
public class ValueController {

    /**
     * 验证单个value的接收
     * @return
     */
    @RequestMapping("/value1")
    public String value1(){
        return "success";
    }

    /**
     * 验证多个value属性的接收
     * @return
     */
    @RequestMapping({"/value2","/value2.1"})
    public String value2(){
        return "success";
    }
}
